﻿
@using Abp.Extensions
@using Abp.Application.Services.Dto
@using KDS.Mes.Web.Areas.Mpa.Models.Common.Modals
@using KDS.Mes.Web.Areas.Mpa.Models.AtlasManage

@model CreateOrEditAtlasModalViewModel

@* 初始化头部 *@
@Html.Partial("~/Areas/Mpa/Views/Common/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel(Model.IsEditMode ? (L("EditAtlas") + ": " + Model.Atlas.LINE) : L("CreateAtlas")))


<!--html代码区域-->
<div class="modal-body">
    <form name="atlasInformationsForm"   role="form" novalidate class="form-validation">
 <input type="hidden" name="Id" value="@Model.Atlas.Id" />
 <div class="row>
            <!--<div class="alert alert-info fs16 bold mt10">分节标题</div>-->
            
               
	     <div hidden="hidden">           
            @if (Model.IsEditMode)
            {
                <input type="hidden" name="Id" value="@Model.Atlas.Id"/>
            }
        </div>
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.LINE.IsNullOrEmpty() ? "" : " edited")" type="text" name="LINE" value="@Model.Atlas.LINE"		maxlength="20"  />			
            <label>@L("LINE") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.STATION_NO.IsNullOrEmpty() ? "" : " edited")" type="text" name="STATION_NO" value="@Model.Atlas.STATION_NO"		maxlength="20"  />			
            <label>@L("STATION_NO") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.SEAT_ID.IsNullOrEmpty() ? "" : " edited")" type="text" name="SEAT_ID" value="@Model.Atlas.SEAT_ID"		maxlength="20"  />			
            <label>@L("SEAT_ID") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.LENGTHS.IsNullOrEmpty() ? "" : " edited")" type="text" name="LENGTHS" value="@Model.Atlas.LENGTHS"		maxlength="20"  />			
            <label>@L("LENGTHS") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.MID.IsNullOrEmpty() ? "" : " edited")" type="text" name="MID" value="@Model.Atlas.MID"		maxlength="20"  />			
            <label>@L("MID") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.REVISION.IsNullOrEmpty() ? "" : " edited")" type="text" name="REVISION" value="@Model.Atlas.REVISION"		maxlength="20"  />			
            <label>@L("REVISION") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.ACK_FLAG.IsNullOrEmpty() ? "" : " edited")" type="text" name="ACK_FLAG" value="@Model.Atlas.ACK_FLAG"		maxlength="20"  />			
            <label>@L("ACK_FLAG") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.CELL_ID.IsNullOrEmpty() ? "" : " edited")" type="text" name="CELL_ID" value="@Model.Atlas.CELL_ID"		maxlength="20"  />			
            <label>@L("CELL_ID") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.CHANNEL_ID.IsNullOrEmpty() ? "" : " edited")" type="text" name="CHANNEL_ID" value="@Model.Atlas.CHANNEL_ID"		maxlength="20"  />			
            <label>@L("CHANNEL_ID") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.CONTROLLER_NAME.IsNullOrEmpty() ? "" : " edited")" type="text" name="CONTROLLER_NAME" value="@Model.Atlas.CONTROLLER_NAME"		maxlength="25"  />			
            <label>@L("CONTROLLER_NAME") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.JOB_ID.IsNullOrEmpty() ? "" : " edited")" type="text" name="JOB_ID" value="@Model.Atlas.JOB_ID"		maxlength="20"  />			
            <label>@L("JOB_ID") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.PARAMETER_SET_ID.IsNullOrEmpty() ? "" : " edited")" type="text" name="PARAMETER_SET_ID" value="@Model.Atlas.PARAMETER_SET_ID"		maxlength="20"  />			
            <label>@L("PARAMETER_SET_ID") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.BATCH_SIZE.IsNullOrEmpty() ? "" : " edited")" type="text" name="BATCH_SIZE" value="@Model.Atlas.BATCH_SIZE"		maxlength="20"  />			
            <label>@L("BATCH_SIZE") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.BATCH_COUNTER.IsNullOrEmpty() ? "" : " edited")" type="text" name="BATCH_COUNTER" value="@Model.Atlas.BATCH_COUNTER"		maxlength="20"  />			
            <label>@L("BATCH_COUNTER") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TIGHTENING_STATUS.IsNullOrEmpty() ? "" : " edited")" type="text" name="TIGHTENING_STATUS" value="@Model.Atlas.TIGHTENING_STATUS"		maxlength="20"  />			
            <label>@L("TIGHTENING_STATUS") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TORQUE_STATUS.IsNullOrEmpty() ? "" : " edited")" type="text" name="TORQUE_STATUS" value="@Model.Atlas.TORQUE_STATUS"		maxlength="20"  />			
            <label>@L("TORQUE_STATUS") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.ANGLE_STATUS.IsNullOrEmpty() ? "" : " edited")" type="text" name="ANGLE_STATUS" value="@Model.Atlas.ANGLE_STATUS"		maxlength="20"  />			
            <label>@L("ANGLE_STATUS") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TORQUE_MIN_LIMIT.IsNullOrEmpty() ? "" : " edited")" type="text" name="TORQUE_MIN_LIMIT" value="@Model.Atlas.TORQUE_MIN_LIMIT"		maxlength="20"  />			
            <label>@L("TORQUE_MIN_LIMIT") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TORQUE_MAX_LIMIT.IsNullOrEmpty() ? "" : " edited")" type="text" name="TORQUE_MAX_LIMIT" value="@Model.Atlas.TORQUE_MAX_LIMIT"		maxlength="20"  />			
            <label>@L("TORQUE_MAX_LIMIT") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TORQUE_FINAL_TARGET.IsNullOrEmpty() ? "" : " edited")" type="text" name="TORQUE_FINAL_TARGET" value="@Model.Atlas.TORQUE_FINAL_TARGET"		maxlength="20"  />			
            <label>@L("TORQUE_FINAL_TARGET") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TORQUE.IsNullOrEmpty() ? "" : " edited")" type="text" name="TORQUE" value="@Model.Atlas.TORQUE"		maxlength="20"  />			
            <label>@L("TORQUE") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.ANGLE_MIN.IsNullOrEmpty() ? "" : " edited")" type="text" name="ANGLE_MIN" value="@Model.Atlas.ANGLE_MIN"		maxlength="20"  />			
            <label>@L("ANGLE_MIN") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.ANGLE_MAX.IsNullOrEmpty() ? "" : " edited")" type="text" name="ANGLE_MAX" value="@Model.Atlas.ANGLE_MAX"		maxlength="20"  />			
            <label>@L("ANGLE_MAX") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.FINALl_ANGLE_TARGET.IsNullOrEmpty() ? "" : " edited")" type="text" name="FINALl_ANGLE_TARGET" value="@Model.Atlas.FINALl_ANGLE_TARGET"		maxlength="20"  />			
            <label>@L("FINALl_ANGLE_TARGET") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.ANGLE.IsNullOrEmpty() ? "" : " edited")" type="text" name="ANGLE" value="@Model.Atlas.ANGLE"		maxlength="20"  />			
            <label>@L("ANGLE") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TIME_STAMP.IsNullOrEmpty() ? "" : " edited")" type="text" name="TIME_STAMP" value="@Model.Atlas.TIME_STAMP"		maxlength="20"  />			
            <label>@L("TIME_STAMP") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TIME_OF_LAST_CHANGE.IsNullOrEmpty() ? "" : " edited")" type="text" name="TIME_OF_LAST_CHANGE" value="@Model.Atlas.TIME_OF_LAST_CHANGE"		maxlength="20"  />			
            <label>@L("TIME_OF_LAST_CHANGE") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.BATCH_STATUS.IsNullOrEmpty() ? "" : " edited")" type="text" name="BATCH_STATUS" value="@Model.Atlas.BATCH_STATUS"		maxlength="20"  />			
            <label>@L("BATCH_STATUS") </label>
        </div>
   
	                  
               
  	<div class="form-group form-md-line-input form-md-floating-label  ">
            <input class="maxlength-handler form-control @(Model.Atlas.TIGHTENING_ID.IsNullOrEmpty() ? "" : " edited")" type="text" name="TIGHTENING_ID" value="@Model.Atlas.TIGHTENING_ID"		maxlength="20"  />			
            <label>@L("TIGHTENING_ID") </label>
        </div>
   
	                  
               
	    <div class="form-group form-md-line-input form-md-floating-label no-hint">
            <label>@L("CREAT_TIME"):   </label>            
                <div class="input-group  date form_datetime">
                    <input type="text" name="CREAT_TIME" value="@Model.Atlas.CREAT_TIME" readonly class="form-control">
                    <span class="input-group-btn">
                        <button class="btn default date-set" type="button">
                            <i class="fa fa-calendar"></i>
                        </button>
                    </span>
                </div>
        
        </div>
	                  
            </div>
    </form>
</div>
@Html.Partial("~/Areas/Mpa/Views/Common/Modals/_ModalFooterWithSaveAndCancel.cshtml")
 
